///************************************************************************
/// <copyrigth>2018-2019 Corporation.All Rights Reserved</copyrigth>
/// <author>tangyingzhong</author>
/// <contact>tangyz114987@outlook.com</contact>
/// <version>v1.0.0</version>
/// <describe>
/// Converting unicode or gbk encoding to utf8 encoding
///</describe>
/// <date>2021/1/31</date>
///***********************************************************************
#ifndef UTF8_H
#define UTF8_H

#include <string>
#include "EncodeType.h"

namespace SystemTool
{
	namespace Encoding
	{
		class UTF8
		{
		public:
			// Get utf8 string
			static std::string GetString(const std::string strData, EncodeType eEncodeType);

			// Get utf8 string
			static std::string GetString(const std::wstring strUnicodeData, EncodeType eEncodeType);
		};
	}
}

#endif // UTF8_H
